summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/routes/comics/[id]/+page.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/routes/comics/[id]/+page.ts')
-rw-r--r--frontend/src/routes/comics/[id]/+page.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/routes/comics/[id]/+page.ts b/frontend/src/routes/comics/[id]/+page.ts
new file mode 100644
index 0000000..d872ba2
--- /dev/null
+++ b/frontend/src/routes/comics/[id]/+page.ts
@@ -0,0 +1,5 @@
+export function load({ params }: { params: Record<string, string> }) {
+ return {
+ id: +params.id
+ };
+}